home *** CD-ROM | disk | FTP | other *** search
- Path: athos.cc.bellcore.com!news
- From: eanderso@attila.stevens-tech.edu (Eric L. Anderson)
- Newsgroups: comp.lang.c++
- Subject: Re: How do I use BC++ DLL in VB and share global vars?
- Date: Thu, 21 Mar 1996 22:29:46 GMT
- Organization: Bellcore
- Message-ID: <4isajb$8l0@athos.cc.bellcore.com>
- References: <4hfpgd$t31@ixnews3.ix.netcom.com>
- Reply-To: eanderso@attila.stevens-tech.edu
- NNTP-Posting-Host: 128.96.51.205
- X-Newsreader: Forte Free Agent 1.0.82
-
- faulkne1@ix.netcom.com(George R Faulkner ) wrote:
-
- >#1. Share variables and entire arrays between the C++ DLL
- >and the Visual Basic EXE. I'm not just talking about
- >passing the variables as parameters, I mean sharing
- >them. The variables should be global variables, both
- >in the DLL and in the VB EXE.
- >#2. Retain the values of global variables and arrays
- >in the DLL between function calls from the EXE
- >#3. Have a DLL routine to draw graphics to a specific
- >VB form or control, specified by the VB EXE
-
- >Anybody know how to do these, if they can be done?
- >Anybody have any work-arounds if these cannot
- >be done? Please respond my e-mail, I don't
- >read this newsgroup very much.
-
- I've been working on a project with the same idea (front end in Visual
- Basic and algorithms in a C++ dll) and if anyone has information on a
- way to share variables between the two besides passing them in
- parameters I would be very interested as well. You could either email
- me or respond in this newsgroup.
-
- Eric
-
-
-